<div class="register">
      <div class="bor">
          <div class="content">
              <p class="new" >新会员注册</p>
              <div ng-if="submitStatus === 0">
                  <div class="unite"><span>邮箱地址</span><input type="email"  ng-model="user.email"><div class="warn" ng-if="checkResult.validType == 'email'">{{checkResult.validMessage}}</div></div>
                  <div class="unite"><span>设置密码</span><input type="password" ng-model="user.password"><div class="warn" ng-if="checkResult.validType == 'password'">{{checkResult.validMessage}}</div></div>
                  <div class="unite"><span>确认密码</span><input type="password" ng-model="user.confirmPassword"><div class="warn" ng-if="checkResult.validType == 'confirmPassword'">{{checkResult.validMessage}}</div></div>
                  <div class="unite"><span>手机号码</span><input type="text"  ng-model="user.phoneNumber"><div class="warn" ng-if="checkResult.validType == 'phoneNumber'">{{checkResult.validMessage}}</div></div>
                  <div class="enter"><a href="" ng-click="register()">立即注册</a></div>
              </div>

              <div class="success" ng-if="submitStatus === 1">
                  <div>{{submitMessage}}<a href="#/">去首页登录</a></div>
              </div>
              <div class="fail success" ng-if="submitStatus === 2">
                  <div>{{submitMessage}} <a href="" ng-click="resetSubmitStatus()">重新请求</a></div>
              </div>
          </div>
      </div>
</div>